from extensions.routers import *
from apps.pbi.views import *

router = BaseRouter()
router.register('pbi_clients', ClientViewSet, 'client')
router.register('pbi_manufactor', ManufactorViewSet, 'manufactor')
router.register('pbi_integrator', IntegratorViewSet, 'integrator')
router.register('pbi_common_pdfs', Pbi_CommonPdfsViewSet, 'pbi_Common_pdfs')
router.register('pbi_product', ProductViewSet, 'product')
router.register('pbi_business_opportunity', BusinessOpportunityViewSet, 'pbi_business_opportunity')
router.register('pbi_signing_prediction', BusinessOpportunitySigning_PredictionViewSet, 'pbi_signing_prediction')#签约预测
router.register('contract_common_pdfs', Contract_Common_PdfsViewSet, 'contract_common_pdfs')
router.register('pbi_signing_contract', ContractViewSet, 'pbi_signing_contract')
router.register('pbi_order', OrderViewSet, 'pbi_order')
router.register('pbi_clients_check_flow', PbiClientsCheckFlowViewSet, 'PbiClientsCheckFlow')
urlpatterns = router.urls
